/*
 * NaviNodeSW.cpp
 *
 *  Created on: 15/08/2012
 *      Author: Aeradon
 */

#include "NavinodeRenderable.h"

NavinodeRenderable::NavinodeRenderable(Face *face) :
		NaviNode(face)
{
	//color[0] = ((float)(rand() % 100))/100;

	//color[0] = 0.0f;
	//color[1] = ((float)(rand() % 100))/100;
	//color[2] = ((float)(rand() % 100))/100;

	/// Create a darksh gray
	color.r = color.g = color.b = ((float)(rand() % 20))/100 +0.05f;
}

NavinodeRenderable::~NavinodeRenderable()
{

}

void NavinodeRenderable::SetColor(GLColor newColor)
{
	color = newColor;
}

GLColor NavinodeRenderable::Color()
{
	return color;
}

